home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / zcpp_jae.zip / MACROSAM.I < prev    next >
Text File  |  1990-07-10  |  519b  |  73 lines

  1. #line 1 "macro-sample.c"
  2.  
  3. #line 23 "macro-sample.c"
  4.  
  5.  
  6.  
  7. set_val_internal(5, 0, 0, 100-0)
  8. #line 28 "macro-sample.c"
  9.  
  10. set_val_internal(foo, 2, 5, 100-5)
  11. #line 29 "macro-sample.c"
  12.  
  13. set_val_internal(bar, baz, 0, 95-0)
  14. #line 36 "macro-sample.c"
  15.  
  16.  
  17.  
  18.  
  19.  
  20. char* table[] = { 
  21. "1",
  22.  
  23.  
  24. "2",
  25.  
  26.  
  27. "3",
  28.  
  29.  
  30. "4",
  31.  
  32.  
  33. "5",
  34.  
  35.  
  36. "6",
  37.  
  38.  
  39. "7",
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. NULL }
  56. #line 47 "macro-sample.c"
  57. ;
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. { char elt;
  68. for (list.reset; list.next;)
  69. { elt = list.value();
  70. print(elt)
  71. }
  72. }
  73.